//
//  VideoDataObject.m
//  LeagueOfLegend
//
//  Created by 王雪瑾 on 14/12/20.
//  Copyright (c) 2014年 王雪瑾. All rights reserved.
//

#import "VideoDataObject.h"

@implementation VideoDataObject



-(instancetype)initWithDictionar:(NSDictionary *)dictionary{
    self = [super init];
    if (self) {
        
        self.img = [dictionary objectForKey:@"img"];
        self.num = [dictionary objectForKey:@"num"];
        self.title = [dictionary objectForKey:@"title"];
        self.url = [dictionary objectForKey:@"url"];
        self.username = [dictionary objectForKey:@"username"];
        self.duration = [dictionary objectForKey:@"duration"];
        self.zan = [[dictionary objectForKey:@"zan"] integerValue];
    }
    return self;
}



@end
